[][src]Crate elrond_wasm

Modules

str_util

Macros

contract_proxy

Handy way of casting to a contract proxy trait. Would make more sense to be in elrond-wasm-derive, but Rust "cannot export macro_rules! macros from a proc-macro crate type currently".

Structs

Box

A pointer type for heap allocation.

H256
String

A UTF-8 encoded, growable string.

Vec

A contiguous growable array type, written Vec<T> but pronounced 'vector'.

Traits

BigIntApi

Definition of the BigInt type required by the API. The API doesn't care about the actual BigInt implementation. The Arwen VM provides an implementation directly in the protocol. For debugging we use a different implementation, based on Rust's BigInt.

BigUintApi

The BigUint type is only used to signal the API to interpret inputs as unsigned. Therefore, we only provide minimal logic, to convert to/from signed.

CallableContract

CallableContract is the means by which the debugger calls methods in the contract.

ContractHookApi

Interface to be used by the actual smart contract code.

ContractIOApi

Interface to only be used by code generated by the macros. The smart contract code doesn't have access to these methods directly.

ErrorMessage

All types that can be returned as error result from smart contracts should implement this trait.

Type Definitions

Address
StorageKey